#if !defined(AFX_PRPAGEDISPLAY_H__F133C055_9626_4531_BC48_F02DFCA1FC90__INCLUDED_)
#define AFX_PRPAGEDISPLAY_H__F133C055_9626_4531_BC48_F02DFCA1FC90__INCLUDED_

#include "PrPage.h"
#include "ColorCombo.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PrPageDisplay.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPrPageDisplay dialog
class CPrPageDisplay : public CPrPage
{
// Construction
public:
	CPrPageDisplay(CWnd* pParent = NULL);   // standard constructor
	virtual BOOL ValidateData();
	virtual void Cancel();


	COLORREF m_oldGridColor1;
	COLORREF m_oldGridColor2;


// Dialog Data
	//{{AFX_DATA(CPrPageDisplay)
	enum { IDD = IDD_PR_DISPLAY };
	CColorCombo	m_cbGridColor2;
	CColorCombo	m_cbGridColor1;
	CComboBox	m_cbBackPicMode;
	CSpinButtonCtrl	m_spinFixGridSize;
	CSpinButtonCtrl	m_spinFixColCount;
	int		m_nFixGridSize;
	int		m_nFixColCount;
	CString	m_sDefaultFont;
	int		m_nBackPicMode;
	BOOL	m_bDefaultHighlight;
	BOOL	m_bSeamlessRendering;
	BOOL	m_bLineCaret;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPrPageDisplay)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void PreviewGridColor();
	void OnSelChangeCbGridColor(CColorCombo &cb);

	// Generated message map functions
	//{{AFX_MSG(CPrPageDisplay)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeCbGridcolor1();
	afx_msg void OnSelchangeCbGridcolor2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PRPAGEDISPLAY_H__F133C055_9626_4531_BC48_F02DFCA1FC90__INCLUDED_)
